//
//  HNRegion.h
//  BestLearning
//
//  Created by 星道 on 17/5/16.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Provice,City,Area;

@interface HNRegion : NSObject

@property (nonatomic, strong) NSArray <Provice *>* Provices;
@property (nonatomic, strong) NSArray <City *>* Cities;
@property (nonatomic, strong) NSArray <Area *>* Areas;


- (void)GetProvice;
- (void)GetCityWithProvinceid:(NSInteger)Provinceid;
- (void)GetAreaWithCityid:(NSInteger)Cityid;
@end





@interface Provice : NSObject
@property (nonatomic, strong) NSNumber *is_zhixia;
@property (nonatomic, copy) NSString *provincename;
@property (nonatomic, strong) NSNumber *provinceid;

- (instancetype)initWithDict:(NSDictionary *)Dict;
@end

@interface City : NSObject
@property (nonatomic, strong) NSNumber *provinceid;
@property (nonatomic, strong) NSNumber *cityid;
@property (nonatomic, copy) NSString *cityname;
@property (nonatomic, strong) NSNumber * is_system;

- (instancetype)initWithDict:(NSDictionary *)Dict;
@end

@interface Area : NSObject
@property (nonatomic, strong) NSNumber * cityid;
@property (nonatomic, strong) NSNumber * areaid;
@property (nonatomic, copy) NSString *areaname;
@property (nonatomic, strong) NSNumber *is_system;

- (instancetype)initWithDict:(NSDictionary *)Dict;
@end
